package com.ylpms.agme.dao;

import com.ylpms.agme.entity.IndexEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/***
 * 生育期指标数据操作接口
 * add by heyao 2019.01.20
 */
@Mapper
public interface IndexDao {

    int saveIndex(@Param("entity")IndexEntity entity);

    int updateIndex(@Param("entity")IndexEntity entity);

    IndexEntity findIndexById(@Param("id")int id);

    IndexEntity findIndexByTypeAndBizCode(@Param("indextype")String indexType,@Param("indexBizCode") String indexBizCode);


}
